package cn.edu.bzu.manager.computer.dao.admin;

import cn.edu.bzu.manager.computer.entity.AdminUser;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * 管理员数据访问对象(DAO)
 *
 * @author 1923111021王云飞
 * @since 1.8
 */

public interface AdminUserDAO extends JpaRepository<AdminUser, Integer> {

    List<AdminUser> findByNameAndPassword(String name, String password);

}
